using System;
using System.Collections.Generic;
using System.Text;

namespace Kopain
{

    static class Constant
    {

        /// <summary>This is the filename of the very Settings file.
        /// </summary>
        internal static string SettingXMLFileName = "Settings.XML";


        /// <summary>This it the filename of the schema file that describes the Settings.XML file.
        /// </summary>
        internal static string SettingXSDFileName = "Settings.XSD";


        /// <summary>This is the filename of the schema file that describes a Savefile.
        /// </summary>
        internal static string NoteXSDFileName = "Note.xsd";


        /// <summary>This is a helper function that returns the Note schema together with it full path.
        /// </summary>
        internal static string NoteXSDFileNameWPath = KopainPath + @"\" + NoteXSDFileName;


        /// <summary>This is the default extension for Kopain savefiles.
        /// </summary>
        internal static string DefaultExtension = "kop";


        /// <summary>This is a helper function that returns the full extension of a Kopain Savefile.
        /// Why settle for one extension when one can have two?
        /// </summary>
        internal static string DefaultFullExtension = "xml." + DefaultExtension;


        /// <summary>This getter returns the path of the Kopain exe.
        /// </summary>
        internal static string KopainPath
        {
            get
            {
                return System.IO.Path.GetDirectoryName( System.Reflection.Assembly.GetExecutingAssembly().Location );
            }
        }


        /// <summary>This method returns the application's title as it is shown in the title bar.
        /// </summary>
        internal static string AppTitle = "Kopain";    //Maybe this should be changed to read from the application attributes.  But only once.

    }

}
